import React, { Component } from 'react';
import { View, Image, Text } from 'react-native';

export default class Banner extends Component {
    constructor(props) {
        super(props);
        this.state = {
        };
        this.props = {
            url: ""
        }
    }

    componentDidMount() {
    }

    render() {
        return (
            <View style={{flexDirection:"row",justifyContent:"space-between"}}>
                <Image
                    source={{ url: this.props.url }}
                    style={{ flex:1, height: 90, borderRadius: 10 }}></Image>
                    <View style={{width:15}}/>
                <Image
                    source={{ url: this.props.url }}
                    style={{ flex:1, height: 90, borderRadius: 10 }}></Image>
            </View>
        );
    }
}
